QT += quick core network concurrent xml concurrent

CONFIG += c++11
CONFIG += resources_big
TARGET = xdingpan
VERSION = 2.0.0

DEFINES += WIN32_LEAN_AND_MEAN

win32 {
    RC_ICONS = $$PWD/assets/image_icon/xmultitool.ico
    QMAKE_CXXFLAGS += /source-charset:utf-8
    LIBS += -liphlpapi
    LIBS += -ldxgi
    DESTDIR=$$PWD/../build_release
    installPath.files += $${DESTDIR}
    installPath.path = $$PWD/../package
}

include(../common/common.pri)
include(../QSerializer/qserializer.pri)

HEADERS += \
    classes.h \
    httprequest.h \
    mainwindow.h \
    mainmanager.h \
    src/app_frameless/FrameLessView.h \
    src/jwsmtp/jwsmtp/base64.h \
    src/jwsmtp/jwsmtp/compat.h \
    src/jwsmtp/jwsmtp/jwsmtp.h \
    src/jwsmtp/jwsmtp/mailer.h \
    stockmodel.h \
    systeminfomation.h


SOURCES += \
    httprequest.cpp \
    main.cpp \
    mainwindow.cpp \
    mainmanager.cpp \
    src/app_frameless/FrameLessView_unix.cpp \
    src/app_frameless/FrameLessView_win.cpp \
    src/jwsmtp/jwsmtp/base64.cpp \
    src/jwsmtp/jwsmtp/compat.cpp \
    src/jwsmtp/jwsmtp/mailer.cpp \
    stockmodel.cpp \
    systeminfomation.cpp


RESOURCES += \
    qml.qrc \
    resource.qrc
	
INCLUDEPATH += src \
	src/app_frameless \
	src/app_global

INSTALLS += installPath

DISTFILES += \
    src/jwsmtp/jwsmtp/Makefile.am \
    src/jwsmtp/jwsmtp/Makefile.in
